export default {
  namespace: 'global',
  state:{
    user: {
      userName: '123'
    }
  },
  reducers: {
    setName(state, payload) {
      console.log( payload )
      return { ...state, user: {...payload.user}};
    }
  },
  effects: {

  }
}